//
//  ThirdView.h
//  lovergotest
//
//  Created by liudonghuan on 14-8-12.
//  Copyright (c) 2014年 liudonghuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EMAsyncImageView.h"

typedef enum {
    TypeLogOut = 0,
    TypeChangeImg,
}UserViewType;

@protocol UserViewDelegate <NSObject>

-(void)UserViewBtnClieck:(UserViewType)type;
-(void)gerenxinxiBtnClick;
-(void)dingdanBtnClick;
@end

@interface UserView : UIView
{
    EMAsyncImageView *_hImgView;
    UILabel *_uNameLab;
    UITableView* _meTView;
    
    id<UserViewDelegate> _delegate;
}
@property(nonatomic,strong)UIButton *userInfoBtn;
@property(nonatomic,strong)UIButton *dingdanBtn;
@property(nonatomic,strong)EMAsyncImageView *hImgView;
@property(nonatomic,strong)UILabel *uNameLab;
@property(nonatomic,strong)UITableView *meTView;
@property(nonatomic,strong)id<UserViewDelegate> delgete;
@property(nonatomic,strong)UIImageView* iconUImgView;

@end
